RequestPattern

data class RequestPattern(urlPattern: String?, resourceType: ResourceType?, interceptionStage: InterceptionStage?)

Request pattern for interception.

Constructors

RequestPattern
Link copied to clipboard
fun RequestPattern(urlPattern: String? = null, resourceType: ResourceType? = null, interceptionStage: InterceptionStage? = null)

Properties

interceptionStage
Link copied to clipboard
val interceptionStage: InterceptionStage? = null
Stage at wich to begin intercepting requests.
resourceType
Link copied to clipboard
val resourceType: ResourceType? = null
If set, only requests for matching resource types will be intercepted.
urlPattern
Link copied to clipboard
val urlPattern: String? = null
Wildcards ('' -> zero or more, '?' -> exactly one) are allowed.

Sources

jvm source
Link copied to clipboard